/**
 * Copyright (C), 2020-2020, 人生无限公司
 * FileName: Manager
 * Description:
 * Manager类：
 * - 属性：姓名，工号，薪资
 * - 经理的薪资有两部分组成：基本工资+奖金
 * - 构造方法：无参构造方法，满参构造方法
 * - 成员方法：
 * - get/set方法
 * - intro方法：打印姓名，工号信息
 * - showSalary方法：打印薪资信息
 * - work方法：打印工作信息
 *
 * @create: 2020/7/15 9:57
 * @author Reanon
 * @version JDK 1.8.0_251
 */
package cn.reanon.day05.homework.test5;

public class Manager {
    private String name;
    private String salary;
    private String idNumber;
    private String bonus;

    public Manager() {
    }

    public Manager(String name, String salary, String idNumber) {
        this.name = name;
        this.salary = salary;
        this.idNumber = idNumber;
    }

    public Manager(String name, String salary, String idNumber, String bonus) {
        this.name = name;
        this.salary = salary;
        this.idNumber = idNumber;
        this.bonus = bonus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) { this.name = name; }

    public String getSalary() { return salary; }

    public void setSalary(String salary) { this.salary = salary; }

    public String getIdNumber() { return idNumber; }

    public void setIdNumber(String idNumber) { this.idNumber = idNumber; }

    public String getBonus() {
        return bonus;
    }

    public void setBonus(String bonus) {
        this.bonus = bonus;
    }

    public void intro() {
        System.out.println("经理姓名：" + name);
        System.out.println("idNumber = " + idNumber);
        System.out.printf("the basic salary = " + salary + " ");
        System.out.println("bonus = " + bonus);
    }

    public void work() {
        System.out.println("正在努力的做着管理工作,分配任务,检查员工提交上来的代码.....");
    }


}
